package com.example.dao.shenhe;

import com.example.pojo.CourseRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface Shcourse {
    //未审核课程
    public List call();
    //查询课程分类
    public List courseclass();
    //模糊查
    public List check(@Param("courseName") String courseName, @Param("name") String name, @Param("courseNprice") int courseNprice);
    //添加审核记录
    public int shenhe(CourseRecord courseRecord);
    //修改课程审核状态
    public int zhuangtai(@Param("courseCstatus") int courseCstatus, @Param("courseId") int courseId);
}
